import type {
  getRecommendListRes,
  getRecommendMusicRes,
  getRecommendParams,
} from "@/types/recommend";
import request from "@/utils/request";
export const getRecommendMvApi = () => {
  return request({
    method: "get",
    url: "/personalized/mv",
    params: { limit: 30 },
  });
};
export const getRecommendListApi = () => {
  return request<getRecommendListRes>({
    method: "get",
    url: "/personalized",
    params: { limit: 14 },
  });
};
export const getRecommendMusicApi = (params: getRecommendParams) => {
  return request<getRecommendMusicRes>({
    method: "get",
    url: "/personalized/newsong",
    params,
  });
};
